While the use of Zernike polynomials to represent simulated or measured data on a grid of points is common, the accuracy of the coefficients can be limited by the non-orthogonality of the functions over the pixelated domains. The Zernike polynomials are defined to be analytically orthogonal over a circular domain, but this breaks down for discrete data. A simple correction is presented that uses a weighted scalar product to determine coefficients. This method preserves the meaning of the Zernike polynomials and allows efficient calculations using an inner product. The algorithm for defining the weighting function is provided, and simulations are included that demonstrate nearly an order of magnitude improvement in accuracy when the new weighted scalar product is used.