Numerous methods exist to solve the Grad–Shafranov equation, describing the equilibrium of a plasma confined by an axisymmetric magnetic field. Nevertheless, they are limited to low beta or small plasma pressure. Combining a nonconservative variational principle with a contour dynamics approach, the approach presented in this paper converges for extreme high beta configurations. By reducing the dimension of the problem from two to one, a compact and efficient numerical algorithm can be developed, and a wide range of boundary shapes can be utilized. Furthermore, the iterative nature of this technique greatly facilitates convergence at high beta while minimizing computation times.