On the integrability of the Jacobian under minimal hypotheses