Multiple scales approach to the gas-piston non-equilibrium themodynamics