On the derivation of the fluctuation-dissipation theorem