If you look closely at the graph at the point where the ball starts to rebound, you will see the line is not completely vertical. In fact, it has a steep negative slope, which corresponds to constant deccelaration, before the acceleration reverses direction and it begins to accelerate upwards again.