A factor of integer polynomials with minimal integrals