I read on Apple discussions forums, that when the last mini G4 with a DL-Superdrive came out, people tried to swap drives and though it was even the same model of drive, it wouldn't work, because Apple just changed the firmware on the model that enabled features that were already there.
What I did not understand is, why it affects the minis, when the firmware is on the optical drive itself.
Also same Powerbook model Apple-drives have another firmware than the mini drives. I also have a tech spec from a german vendor that I found via Google in which it says Drives from PowerBooks that have the same name like the Mac Mini drives will not work, because of differing firmware for each device.
This is the apple discussions thread I am talking about, btw.
https://discussions.apple.com/message/1646341#1646341
You can differentiate Apple OEM drives by the C at the end. Example UJ-875-C.
macfixit sells a UJ-845, not stating which version and they say it is compatible to mac minis AND Powerbooks. I assume it is not a C version.
Many versions that end with -B but are from "windows"-laptops work in Apple laptops without problems. They are also cheap. On German ebay they go for 1-5 Euro, when the auction title does not state "apple".
Unfortunately I do not know for sure, which -B models work in Mac minis. But -C models from PowerBooks do not work in mac Minis and vice versa, it seems.
MODs note: I am really trying to help and am not advertising, though I am selling a version tha I know work in ibooks, PowerBooks, iMacs and MacBook Pros till 2008. I don't advertise, because I don't know, if they work in MacMinis and I don't claim that.