The function
\[
g(x) = x[x^2]
\]
is discontinuous when \(x^2\) is an integer.
Step 1: Find points of discontinuity.
In the interval \( (-2,2) \),
\[
x^2 = 1 \Rightarrow x = \pm 1.
\]
Hence,
\[
S = \{-1,\,1\}.
\]
Step 2: Evaluate \( f(x) \) at these points.
For \(x = 1\),
\[
f(1) = \min\{\sqrt{2},1\} = 1.
\]
For \(x = -1\),
\[
f(-1) = \min\{-\sqrt{2},1\} = -\sqrt{2}.
\]
Step 3: Compute the sum.
\[
\sum_{x \in S} f(x) = 1 - \sqrt{2} = 2 - \sqrt{2}.
\]
Final Answer:
\[
\boxed{2 - \sqrt{2}}
\]