Is it the very same function? Did you try straightforward definition and plotting like this?
f[x_] := x^2; g[x_] := f[x]*2; Plot[g[f[i]], {i, 1, 100}]