Thermodynamics of a Bose-Einstein condensate with weak disorder