On the integrability of the Hamiltonian systems with homogeneus polynomial potentials