build min file