rebuild min file