In this paper, we prove a Donsker theorem for one-dimensional processes generated by an operator with measurablecoefficients. We construct a random walk on any grid on the state space, using the transition probabilities of the approximated process, and the conditional average times it spends on each cell of the grid. Indeed we can compute thesequantities by solving some suitableelliptic PDE problems.