As long as it has the same internal resistance as what you took out, you should be able to replace it with a different one.