Dynamical evolution of rotating stellar systems – III. The effect of the mass spectrum