Generate new min file